package com.wh.base.sys.user.controller.form;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

import io.swagger.annotations.ApiOperation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@ApiOperation(value = "修改表单类")
public class UpdateStatusForm {
	
	@NotNull(message = "id不能为空")
	@Schema(description = "ID")
	private Long id;

	@NotNull(message = "状态不能为空")
	@Pattern(regexp = "^[0-9]$", message = "状态值格式错误")
	private String status;
}
